﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;

namespace Google.Translates.Core.Entries
{
    
        //{ "data": { "translations": [ { "translatedText": "Wind" } ] } } 

        /*
         200 OK

        {
            "data": {
                "translations": [
                    {
                        "translatedText": "Hallo Welt",
                        "detectedSourceLanguage": "en"
                    }
                ]
            }
        }

         */

        [DataContract]
        public class TranslationData
        {
            /// <summary>
            /// Value for JSON data.translations
            /// </summary>
            [DataMember(Order = 0,Name="translations")]
            public TranslationItem[] Translations { get; set; }
        }
    
}
